home *** CD-ROM | disk | FTP | other *** search
- Path: ccshst05.cs.uoguelph.ca!ccshst01!thay
- From: thay@uoguelph.ca (Toby K Hay)
- Newsgroups: comp.lang.c
- Subject: Re: Error msg: Trace/BPT trap
- Date: 5 Apr 1996 17:20:12 GMT
- Organization: University of Guelph
- Message-ID: <4k3koc$cg0@ccshst05.cs.uoguelph.ca>
- References: <4k1gdl$32r@ccshst05.cs.uoguelph.ca>
- NNTP-Posting-Host: ccshst01.cs.uoguelph.ca
- X-Newsreader: TIN [version 1.2 PL2]
-
- Toby K Hay (thay@uoguelph.ca) wrote:
- : I had my ANSI C program running nicely on a UNIX SGI machine and
- : foolishly made a few changes to the code. Now it's occasionally halting
- : with the error message 'Trace/BPT trap (core dumped)'. Can anyone tell
- : me what causes the UNIX to report this error so that I know where to
- : start looking for my bugs? Thanks in advance . . .
-
- Toby Hay replies with a red face:
- My rudimentary knowledge of UNIX is increasing by leaps and bounds, and
- since posting this question yesterday I've learned to trace program
- execution with the debugger 'dbx' and find elementary errors like
- division by 0 which causes the 'Trace/BPT trap' message I've been getting.
- Please ignore the question now . . .
-
- Toby Hay, still embarrassed, signs off . . . thay@uoguelph.ca
-
-